/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
-------------------------------------------------------------------------------
Description
    Writes graph data for specified fields along a line, specified by start
    and end points.

\*---------------------------------------------------------------------------*/


// Sampling and I/O settings
// #includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"

#include "sample_config"

type            sets;
libs            ("libsampling.so");

writeControl    timeStep;//writeTime;
writeInterval   $mySampleInterval_;

interpolationScheme cellPoint;

setFormat   raw;

setConfig
{
    type    lineCell;
    axis    distance;  // x, y, z, xyz
}

sets
(
    lineB
    {
        $setConfig;
        start (   0 0.001 0.001);
        end   ( 100 0.001 0.001);
    }
);

fields  
(
/*
    T
    p
    H2
    H
    O
    O2
    OH
    H2O
    HO2
    H2O2
    C
    CH
    CH2
    CH2(S)
    CH3
    CH4
    CO
    CO2
    HCO
    CH2O
    CH2OH
    CH3O
    CH3OH
    C2H
    C2H2
    C2H3
    C2H4
    C2H5
    C2H6
    HCCO
    CH2CO
    HCCOH
*/
    N
    NH
    NH2
    NH3
    NNH
    NO
    NO2
    N2O
    HNO
    CN
    HCN
    H2CN
    HCNN
    HCNO
    HOCN
    HNCO
    NCO
    C3H7
    C3H8
    CH2CHO
    CH3CHO
    H2NO
    N2H2
    HONO
    N2H3
    N2H4
    NH2OH
    N2
    AR

);

// ************************************************************************* //

